#include <stdio.h>

int main(int argc, char *argv[]) 
{
    int a[10] = {
        [0 ... 5] = 2,
        [6] = 0,
        [7 ... 9] = 1
    };
    int i;
    for(i=0; i<10; i++) 
        printf("%2d", a[i]); 
    puts("");   
}
